home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
gt_power
/
whou320.zip
/
SCANMAIL.DOC
< prev
next >
Wrap
Text File
|
1989-08-13
|
4KB
|
126 lines
SCANMAIL - A utility for GT SYSOPS
REVISION HISTORY.
v1.00 - 12/4/89 - First public release
v2.00 - 8/8/89 - LAN awareness added
- new WAITING.CTL format
v2.01 - 13/8/89 - removed clear function from SCANMAIL
- put clear into CLRMAIL
FUNCTION.
SCANMAIL is a batch file utility which will allow you
to force a response to the "Read personal Mail" prompt
in GT.
CLRMAIL now performs the clear function that SCANMAIL
v2.00 used to do. The command-line syntax for CLRMAIL
is identical to that for SCANMAIL.
USAGE.
Place the command
SCANMAIL [/Lxxxxxxx]
in your GTLOGON.BAT and SCANMAIL
will scan the WAITING.CTL (as created by WHOYOU) to
see if the user has any mail waiting.
If the name in the GTUSER.BBS matches an entry in the
WAITING.CTL SCANMAIL will exit with ERRORLEVEL set to 1
otherwise ERRORLEVEL will be set to 0.
*** NOTE ***
This version of SCANMAIL will *ONLY* work with the
WAITING.CTL file created by WHOYOU v3.00 or later!
** NOTE **
With this release of SCANMAIL you must ALSO place the
command
CLRMAIL [/Lxxxxxxx]
in the GTLOGOFF.BAT to clear the "mail waiting" flag.
The /L parameter format is identical to the SCANMAIL
parameter (and indeed MUST be the same!)
ERRORLEVEL EXITS.
00 - normal exit - NO mail found
01 - normal exit - user HAS mail
02 - ERROR - GTUSER.BBS not found or in error
03 - ERROR - WAITING.CTL not found or in error
04 - ERROR - write error on WAITING.CTL
COMMAND-LINE PARAMETERS.
SCANMAIL and CLRMAIL have ONE optional command-line parameter.
This is ONLY used if you are running multiple nodes
in a LAN environment.
/Lxxxxxxx - Drive\Path of your LAN path for GT.
This is the drive\pathname that you have
defined in the LR= line in your GT.CNF
All parameters must be uppercase.
/LC:\MYDIR is valid
/lC:\MYDIR is NOT.
EXAMPLES.
SCANMAIL
Scans WAITING.CTL in the GTPATH= directory.
SCANMAIL /LC:\MYLAN
Scans WAITING.CTL in the C:\MYLAN directory.
CLRMAIL
Clears the mail-waiting flag for the last user in the
WAITING.CTL in the GTPATH= directory
Please see the enclosed GTLOGON.DEM file for a sample
GTLOGON.BAT.
FURTHER INFORMATION.
Please send all comments/suggestions/bugs to
Ken Thompson
164 Lyons Rd.
Drummoyne
Sydney N.S.W.
Australia 2047
+61-2-81-4751
or via my BBS
The Black Hole
GT Net/Node 302/002
+61-2-819-6971 (2400 NO CRASH!mail)
The Black Hole
GT Net/Node 302/003
+61-2-719-8161 (9600 CRASH!able)